import { defineStore } from 'pinia'
import { State } from './type'
import newCache from '@/utils/cache'
export const useStore = defineStore('main', {
  state: (): State => ({
    token: newCache.getStorage('TOKEN') ?? ''
  })
})
